Xbasic

OBJECT.MAXIMIZE Function

Syntax

.Maximize()

Description

Maximizes the window.

The <OBJECT>.MAXIMIZE() method applies to:

Alpha Anywhere (for <OBJECT> use the keyword "A5")
Control Panel (for <OBJECT> use the keyword "CONTROLPANEL")
Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.MAXIMIZE() method causes a window to fill the screen. If the window is hidden, the .MAXIMIZE() method will display it.

Example

The following example loads, displays, and maximizes the Customer Information form window.

dim ptr as P
ptr = form.load("Customer Information")
ptr.show()
ptr.maximize()

Limitations

Desktop applications only.

See Also